package com.demo.common;

import com.demo.blog.Blog;
import com.jfinal.core.Controller;

/**
 * CommonController
 */
public class CommonController extends Controller {
	
	public void index() {
		setAttr("blogList", Blog.dao.find("select * from blog order by id asc"));
		render("/common/index.jsp");
//		render("/blog/index.jsp");
	}
}
